home *** CD-ROM | disk | FTP | other *** search
/ Champak 86 / (Vol 86) My Disc.iso / Games / restaurante_1116.swf / scripts / frame_6 / DoAction.as
Text File  |  2009-04-16  |  27KB  |  719 lines

  1. function ┬º\x04\x05┬º()
  2. {
  3.    set("\x03",551 % 511 * true);
  4.    ┬º┬ºpush("\x03");
  5.    if("\x01")
  6.    {
  7.    }
  8.    return eval(┬º┬ºpop());
  9. }
  10. var ┬º\x01┬º = 325 + "\x04\x05"();
  11. while(true)
  12. {
  13.    if(eval("\x01") == 365)
  14.    {
  15.       set("\x01",eval("\x01") - 197);
  16.       ┬º┬ºpush(true);
  17.    }
  18.    else if(eval("\x01") == 168)
  19.    {
  20.       set("\x01",eval("\x01") + 235);
  21.       if(function ┬º\x04\x05┬º()
  22.       {
  23.          set("\x03",551 % 511 * true);
  24.          ┬º┬ºpush("\x03");
  25.          if("\x01")
  26.          {
  27.          }
  28.          return eval(┬º┬ºpop());
  29.       })
  30.       {
  31.          set("\x01",eval("\x01") + 50);
  32.       }
  33.    }
  34.    else if(eval("\x01") == 996)
  35.    {
  36.       set("\x01",eval("\x01") - 222);
  37.       if(function ┬º\x04\x05┬º()
  38.       {
  39.          set("\x03",551 % 511 * true);
  40.          ┬º┬ºpush("\x03");
  41.          if("\x01")
  42.          {
  43.          }
  44.          return eval(┬º┬ºpop());
  45.       })
  46.       {
  47.          set("\x01",eval("\x01") + 133);
  48.       }
  49.    }
  50.    else if(eval("\x01") == 907)
  51.    {
  52.       set("\x01",eval("\x01") - 658);
  53.    }
  54.    else if(eval("\x01") == 801)
  55.    {
  56.       set("\x01",eval("\x01") + 195);
  57.       ┬º┬ºpush(true);
  58.    }
  59.    else if(eval("\x01") == 48)
  60.    {
  61.       set("\x01",eval("\x01") + 623);
  62.       ┬º┬ºpush(!function ┬º\x04\x05┬º()
  63.       {
  64.          set("\x03",551 % 511 * true);
  65.          ┬º┬ºpush("\x03");
  66.          if("\x01")
  67.          {
  68.          }
  69.          return eval(┬º┬ºpop());
  70.       });
  71.    }
  72.    else
  73.    {
  74.       if(eval("\x01") == 403)
  75.       {
  76.          set("\x01",eval("\x01") + 50);
  77.          ┬º┬ºpush(function ┬º\x04\x05┬º()
  78.          {
  79.             set("\x03",551 % 511 * true);
  80.             ┬º┬ºpush("\x03");
  81.             if("\x01")
  82.             {
  83.             }
  84.             return eval(┬º┬ºpop());
  85.          } - 1);
  86.          break;
  87.       }
  88.       if(eval("\x01") == 610)
  89.       {
  90.          set("\x01",eval("\x01") + 191);
  91.       }
  92.       else if(eval("\x01") == 10)
  93.       {
  94.          set("\x01",eval("\x01") + 791);
  95.       }
  96.       else
  97.       {
  98.          if(eval("\x01") == 774)
  99.          {
  100.             set("\x01",eval("\x01") + 133);
  101.             break;
  102.          }
  103.          if(eval("\x01") == 105)
  104.          {
  105.             set("\x01",eval("\x01") + 746);
  106.             ┬º┬ºpush("\x0f");
  107.          }
  108.          else if(eval("\x01") == 671)
  109.          {
  110.             set("\x01",eval("\x01") + 109);
  111.             if(function ┬º\x04\x05┬º()
  112.             {
  113.                set("\x03",551 % 511 * true);
  114.                ┬º┬ºpush("\x03");
  115.                if("\x01")
  116.                {
  117.                }
  118.                return eval(┬º┬ºpop());
  119.             })
  120.             {
  121.                set("\x01",eval("\x01") - 237);
  122.             }
  123.          }
  124.          else if(eval("\x01") == 14)
  125.          {
  126.             set("\x01",eval("\x01") + 91);
  127.             var ┬º┬ºpop() = function ┬º\x04\x05┬º()
  128.             {
  129.                set("\x03",551 % 511 * true);
  130.                ┬º┬ºpush("\x03");
  131.                if("\x01")
  132.                {
  133.                }
  134.                return eval(┬º┬ºpop());
  135.             };
  136.          }
  137.          else if(eval("\x01") == 851)
  138.          {
  139.             set("\x01",eval("\x01") - 803);
  140.             ┬º┬ºpush(eval(function ┬º\x04\x05┬º()
  141.             {
  142.                set("\x03",551 % 511 * true);
  143.                ┬º┬ºpush("\x03");
  144.                if("\x01")
  145.                {
  146.                }
  147.                return eval(┬º┬ºpop());
  148.             }));
  149.          }
  150.          else if(eval("\x01") == 277)
  151.          {
  152.             set("\x01",eval("\x01") - 28);
  153.          }
  154.          else if(eval("\x01") == 193)
  155.          {
  156.             set("\x01",eval("\x01") + 119);
  157.          }
  158.          else
  159.          {
  160.             if(eval("\x01") == 146)
  161.             {
  162.                set("\x01",eval("\x01") - 136);
  163.                break;
  164.             }
  165.             if(eval("\x01") == 543)
  166.             {
  167.                set("\x01",eval("\x01") + 369);
  168.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(191)][┬º┬ºconstant(35)] = false;
  169.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(192)][┬º┬ºconstant(35)] = false;
  170.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(177)][┬º┬ºconstant(35)] = false;
  171.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(177)][┬º┬ºconstant(117)] = false;
  172.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(177)][┬º┬ºconstant(193)] = function()
  173.                {
  174.                };
  175.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(6)][┬º┬ºconstant(7)][┬º┬ºconstant(35)] = false;
  176.                var ┬º┬ºconstant(194) = new ┬º\┬º\┬ºconstant(195)┬º();
  177.                eval(┬º┬ºconstant(194))[┬º┬ºconstant(196)] = -3.1;
  178.                var ┬º┬ºconstant(197) = 1;
  179.                while(eval(┬º┬ºconstant(197)) <= 3)
  180.                {
  181.                   eval(┬º┬ºconstant(5))[┬º┬ºconstant(198) + eval(┬º┬ºconstant(197)) + ┬º┬ºconstant(13)][┬º┬ºconstant(199)](eval(┬º┬ºconstant(194)));
  182.                   set(┬º┬ºconstant(197),eval(┬º┬ºconstant(197)) + 1);
  183.                }
  184.                var i = 1;
  185.                while(i <= 2)
  186.                {
  187.                   gamemc["topping" + i + "txt"].setNewTextFormat(format1);
  188.                   i++;
  189.                }
  190.                gamemc.mcjumtop3.topping3txt.setNewTextFormat(format1);
  191.                gamemc.mcjumtop4.topping4txt.setNewTextFormat(format1);
  192.                gamemc.mcjumtop5.topping5txt.setNewTextFormat(format1);
  193.                var _MAXRESEP = 8;
  194.                var _IDXTEMPAT = 11;
  195.                var _CUSTSERVEDTURNAMEN = 30;
  196.                var _GOALTURNAMEN = 1000;
  197.                var _CUSTLOSTTURNAMEN = 5;
  198.                var _WAKTUMUNCUL = 50;
  199.                var _WAKTUHEARTTURNAMEN = 250;
  200.                var _WAKTUHEART = 500;
  201.                var _MAXLEVEL = 10;
  202.                var ispaused;
  203.                var istutup;
  204.                var ctr = 0;
  205.                var jumpesanan = 6;
  206.                var jumbahan = tempjumbahan = 0;
  207.                var tempat = 0;
  208.                var jumes1 = jumes2 = jumes3 = 5;
  209.                var jumtopping1 = jumtopping2 = jumtopping3 = jumtopping4 = jumtopping5 = 3;
  210.                var money = 0;
  211.                var tempgoal;
  212.                var resep = [[1,0,0,0,0,0,1,0,0,0,0,1],[1,1,1,0,0,0,0,1,0,0,0,3],[0,2,0,0,0,0,0,1,1,0,0,3],[0,1,1,1,0,1,0,1,0,0,0,1],[0,0,1,1,0,1,0,1,0,2,0,2],[0,0,2,0,1,0,1,0,0,2,0,1],[0,2,1,0,0,1,0,1,1,0,2,2],[1,1,1,0,0,0,0,1,0,2,2,2]];
  213.                var goalawal = [150,175,250,325,375,400,500,600,750,1000];
  214.                var goalturnamen = [0,0,1000,1000];
  215.                var hargaes = [25,35,38,44,55,66,83,95];
  216.                var xpesanan = [-225,-100,25,150,275,400];
  217.                var hargabelanja = [20,15,5];
  218.                var isibelanja = [5,3,5];
  219.                var jumisibahan = [0,0,0,0,0,0,0,0,0,0,0];
  220.                var indexbahan = [0,0,0,0,0,0,0,0,0,0,0];
  221.                var waktu = [90,120,180,210,225,240,270,285,315,360];
  222.                var waktuturnamen = [300,180,300,300];
  223.                var dxwaktu;
  224.                var ctrwaktu = 0;
  225.                var goal;
  226.                var totalcust = custserved = custlost = 0;
  227.                var isgebrak = false;
  228.                var wktmuncul = 200;
  229.                var wktheart = 350;
  230.                gamemc.eskrim.onPress = function()
  231.                {
  232.                   inviTempat();
  233.                   startDrag(this,0);
  234.                };
  235.                gamemc.eskrim.onRelease = gamemc.eskrim.onReleaseOutside = function()
  236.                {
  237.                   var _loc4_ = false;
  238.                   var _loc3_ = 1;
  239.                   while(_loc3_ <= 6)
  240.                   {
  241.                      if(this.hitTest(gamemc.container["pesanan" + _loc3_]) and this.id == gamemc.container["pesanan" + _loc3_].id)
  242.                      {
  243.                         gamemc.container["pesanan" + _loc3_].gotoAndPlay(2);
  244.                         stopDrag();
  245.                         initEs(this);
  246.                         _loc4_ = true;
  247.                      }
  248.                      _loc3_ = _loc3_ + 1;
  249.                   }
  250.                   if(!_loc4_)
  251.                   {
  252.                      if(this.hitTest(gamemc.refrigerator) and gamemc.eskrim.id != -1 and gamemc.refrigerator.kosong and gamemc.refrigerator._visible)
  253.                      {
  254.                         gamemc.refrigerator.gotoAndPlay(2);
  255.                         stopDrag();
  256.                      }
  257.                      else if(this.hitTest(gamemc.tempatsampah))
  258.                      {
  259.                         gamemc.eskrim.setMask(_root.gamemc.masker);
  260.                         buangsampah_song.start(0,1);
  261.                         gamemc.tempatsampah.gotoAndPlay(2);
  262.                         stopDrag();
  263.                         this.onEnterFrame = function()
  264.                         {
  265.                            this._y += 3;
  266.                            if(this._y > gamemc.eskrim.batasbawah)
  267.                            {
  268.                               this.setMask(null);
  269.                               gamemc.tempatsampah.gotoAndPlay(11);
  270.                               initEs(this);
  271.                               delete this.onEnterFrame;
  272.                            }
  273.                         };
  274.                      }
  275.                      else
  276.                      {
  277.                         stopDrag();
  278.                         this._x = this.posX;
  279.                         this._y = this.posY;
  280.                      }
  281.                   }
  282.                };
  283.                gamemc.refrigerator.onRelease = gamemc.refrigerator.onReleaseOutside = function()
  284.                {
  285.                   if(gamemc.eskrimkulkas._currentframe != 1)
  286.                   {
  287.                      var _loc4_ = gamemc.eskrimkulkas;
  288.                      var _loc5_ = false;
  289.                      var _loc3_ = 1;
  290.                      while(_loc3_ <= 6)
  291.                      {
  292.                         if(_loc4_.hitTest(gamemc.container["pesanan" + _loc3_]) and _loc4_.id == gamemc.container["pesanan" + _loc3_].id)
  293.                         {
  294.                            gamemc.container["pesanan" + _loc3_].gotoAndPlay(2);
  295.                            stopDrag();
  296.                            initEs(_loc4_);
  297.                            _loc5_ = true;
  298.                         }
  299.                         _loc3_ = _loc3_ + 1;
  300.                      }
  301.                      if(!_loc5_)
  302.                      {
  303.                         if(_loc4_.hitTest(gamemc.refrigerator) and gamemc.eskrimkulkas.id != -1 and gamemc.refrigerator.kosong)
  304.                         {
  305.                            gamemc.refrigerator.gotoAndPlay(2);
  306.                            stopDrag();
  307.                         }
  308.                         else if(_loc4_.hitTest(gamemc.tempatsampah))
  309.                         {
  310.                            gamemc.eskrimkulkas.setMask(_root.gamemc.masker);
  311.                            buangsampah_song.start(0,1);
  312.                            gamemc.tempatsampah.gotoAndPlay(2);
  313.                            stopDrag();
  314.                            _loc4_.onEnterFrame = function()
  315.                            {
  316.                               this._y += 3;
  317.                               if(this._y > gamemc.eskrimkulkas.batasbawah)
  318.                               {
  319.                                  this.setMask(null);
  320.                                  delete this.onEnterFrame;
  321.                                  gamemc.tempatsampah.gotoAndPlay(11);
  322.                                  initEs(this);
  323.                               }
  324.                            };
  325.                         }
  326.                         else
  327.                         {
  328.                            gamemc.refrigerator.gotoAndPlay(2);
  329.                            stopDrag();
  330.                         }
  331.                      }
  332.                   }
  333.                };
  334.                var i = 1;
  335.                while(i <= 3)
  336.                {
  337.                   gamemc.panelbelanja.paneleskrim["btnes" + i].ke = i;
  338.                   gamemc.panelbelanja.paneleskrim["btnes" + i].onRelease = function()
  339.                   {
  340.                      if(money >= hargabelanja[0])
  341.                      {
  342.                         money -= hargabelanja[0];
  343.                         setBtnPanelEsKrim();
  344.                         gamemc["waktues" + this.ke]._visible = true;
  345.                         gamemc["waktues" + this.ke].gotoAndPlay(2);
  346.                      }
  347.                   };
  348.                   i++;
  349.                }
  350.                gamemc.panelbelanja.paneljuice.btnjuice.onRelease = function()
  351.                {
  352.                   if(money >= hargabelanja[2])
  353.                   {
  354.                      money -= hargabelanja[2];
  355.                      setBtnPanelJuice();
  356.                      gamemc.waktujuice._visible = true;
  357.                      gamemc.waktujuice.gotoAndPlay(2);
  358.                   }
  359.                };
  360.                var i = 1;
  361.                while(i <= 5)
  362.                {
  363.                   gamemc.panelbelanja.paneltopping["btntopping" + i].ke = i;
  364.                   gamemc.panelbelanja.paneltopping["btntopping" + i].onRelease = function()
  365.                   {
  366.                      if(money >= hargabelanja[1])
  367.                      {
  368.                         money -= hargabelanja[1];
  369.                         setBtnPanelTopping();
  370.                         gamemc["waktutopping" + this.ke]._visible = true;
  371.                         gamemc["waktutopping" + this.ke].gotoAndPlay(2);
  372.                      }
  373.                   };
  374.                   i++;
  375.                }
  376.                var i = 1;
  377.                while(i <= 3)
  378.                {
  379.                   gamemc["btntempat" + i].mc = gamemc["tempat" + i];
  380.                   gamemc["btntempat" + i].onRelease = function()
  381.                   {
  382.                      inviTempat();
  383.                      this.mc._visible = true;
  384.                      tempat = int(this._name.substr(-1,1));
  385.                      setPanelBahan();
  386.                      naruhgelas_song.start(0,1);
  387.                   };
  388.                   i++;
  389.                }
  390.                var i = 1;
  391.                while(i <= 3)
  392.                {
  393.                   gamemc.syrupmachine["btnsyrup" + i].mc = gamemc.syrupmachine["syrup" + i];
  394.                   gamemc.syrupmachine["btnsyrup" + i].onRelease = function()
  395.                   {
  396.                      var _loc2_ = cekPanelBahan(this.mc._name);
  397.                      if(_loc2_ == 0)
  398.                      {
  399.                         if(tempjumbahan < 6)
  400.                         {
  401.                            sirup_song.start(0,1);
  402.                            tempjumbahan++;
  403.                            this.mc.gotoAndPlay(2);
  404.                         }
  405.                      }
  406.                      else
  407.                      {
  408.                         sirup_song.start(0,1);
  409.                         this.mc.gotoAndPlay(2);
  410.                      }
  411.                   };
  412.                   i++;
  413.                }
  414.                var i = 1;
  415.                while(i <= 5)
  416.                {
  417.                   gamemc["btntopping" + i].mc = gamemc["topping" + i + "mc"];
  418.                   gamemc["btntopping" + i].ke = i;
  419.                   gamemc["btntopping" + i].onRelease = function()
  420.                   {
  421.                      var _loc3_ = cekPanelBahan(this.mc._name.substr(0,8));
  422.                      if(_loc3_ == 0)
  423.                      {
  424.                         if(tempjumbahan < 6)
  425.                         {
  426.                            if(_root["jumtopping" + this.ke] > 0)
  427.                            {
  428.                               tempjumbahan++;
  429.                               this.mc.gotoAndPlay(2);
  430.                               muter_song.start(0,1);
  431.                               _root["jumtopping" + this.ke]--;
  432.                            }
  433.                         }
  434.                      }
  435.                      else if(_root["jumtopping" + this.ke] > 0)
  436.                      {
  437.                         this.mc.gotoAndPlay(2);
  438.                         muter_song.start(0,1);
  439.                         _root["jumtopping" + this.ke]--;
  440.                      }
  441.                      if(_root["jumtopping" + this.ke] <= 0)
  442.                      {
  443.                         gamemc["mctopping" + this.ke]._visible = true;
  444.                         gamemc["btntopping" + this.ke]._visible = false;
  445.                      }
  446.                   };
  447.                   i++;
  448.                }
  449.                var i = 1;
  450.                while(i <= 3)
  451.                {
  452.                   gamemc["btnes" + i].mc = gamemc["sendokes" + i];
  453.                   gamemc["btnes" + i].ke = i;
  454.                   gamemc["btnes" + i].onRelease = function()
  455.                   {
  456.                      var _loc3_ = cekPanelBahan(this.mc._name.substr(-3,3));
  457.                      if(_loc3_ == 0)
  458.                      {
  459.                         if(tempjumbahan < 6)
  460.                         {
  461.                            if(_root["jumes" + this.ke] > 0)
  462.                            {
  463.                               tempjumbahan++;
  464.                               this.mc.gotoAndPlay(2);
  465.                               ngerukes_song.start(0,2);
  466.                               _root["jumes" + this.ke]--;
  467.                            }
  468.                         }
  469.                      }
  470.                      else if(_root["jumes" + this.ke] > 0)
  471.                      {
  472.                         this.mc.gotoAndPlay(2);
  473.                         _root["jumes" + this.ke]--;
  474.                      }
  475.                   };
  476.                   i++;
  477.                }
  478.                gamemc.jusmachinemc.gelas1.onPress = gamemc.jusmachinemc.gelas2.onPress = function()
  479.                {
  480.                   startDrag(this,0);
  481.                };
  482.                gamemc.jusmachinemc.gelas1.onRelease = gamemc.jusmachinemc.gelas1.onReleaseOutside = gamemc.jusmachinemc.gelas2.onRelease = gamemc.jusmachinemc.gelas2.onReleaseOutside = function()
  483.                {
  484.                   var _loc4_ = false;
  485.                   var _loc3_ = 1;
  486.                   while(_loc3_ <= 6)
  487.                   {
  488.                      var _loc2_ = gamemc.container["pesanan" + _loc3_];
  489.                      if(this.hitTest(_loc2_))
  490.                      {
  491.                         if(_loc2_.heart < 4)
  492.                         {
  493.                            kasihjuice_song.start(0,1);
  494.                            _loc2_["hati" + _loc2_.heart].gotoAndStop(1);
  495.                            _loc2_.heart = _loc2_.heart + 1;
  496.                            if(_loc2_.ctrheart >= _loc2_.waktukedip)
  497.                            {
  498.                               _loc2_["hati" + _loc2_.heart].gotoAndPlay(2);
  499.                            }
  500.                            else
  501.                            {
  502.                               _loc2_["hati" + _loc2_.heart].gotoAndStop(1);
  503.                            }
  504.                            _loc4_ = true;
  505.                            stopDrag();
  506.                            this._x = this.posX;
  507.                            this._y = this.posY;
  508.                            this._visible = false;
  509.                         }
  510.                      }
  511.                      _loc3_ = _loc3_ + 1;
  512.                   }
  513.                   if(!_loc4_)
  514.                   {
  515.                      stopDrag();
  516.                      this._x = this.posX;
  517.                      this._y = this.posY;
  518.                   }
  519.                };
  520.                gamemc.panelbahan.btnmix.onRelease = function()
  521.                {
  522.                   inviTempat();
  523.                   process_song.start(0,1);
  524.                   gamemc.panelbahan._visible = false;
  525.                   gamemc.anim_keluar.gotoAndPlay(2);
  526.                };
  527.                gamemc.menumc.btnbelanja.onRelease = function()
  528.                {
  529.                   if(!gamemc.bukuresep._visible)
  530.                   {
  531.                      gamemc.panelbelanja.paneltopping._visible = false;
  532.                      gamemc.panelbelanja.paneljuice._visible = false;
  533.                      gamemc.panelbelanja.paneleskrim._visible = true;
  534.                      setBtnPanelEsKrim();
  535.                      gamemc.panelbelanja._visible = true;
  536.                   }
  537.                };
  538.                gamemc.menumc.btnresep.onRelease = function()
  539.                {
  540.                   if(!gamemc.panelbelanja._visible)
  541.                   {
  542.                      gamemc.bukuresep._visible = true;
  543.                   }
  544.                };
  545.                gamemc.bukuresep.btnclose.onRelease = function()
  546.                {
  547.                   ispaused = false;
  548.                   gamemc.bukuresep._visible = false;
  549.                   if(syruppertama)
  550.                   {
  551.                      ispaused = true;
  552.                      gamemc.keterangansyrup._visible = true;
  553.                   }
  554.                };
  555.                gamemc.menumc.btnmain.onRelease = function()
  556.                {
  557.                   gamemc.menumc.areyousure._visible = true;
  558.                };
  559.                gamemc.menumc.areyousure.btnyes.onRelease = function()
  560.                {
  561.                   ispaused = true;
  562.                   hapusOnEnterFrame();
  563.                   gotoAndStop("main_menu");
  564.                };
  565.                gamemc.menumc.areyousure.btnno.onRelease = function()
  566.                {
  567.                   gamemc.menumc.areyousure._visible = false;
  568.                };
  569.                gamemc.menumc.waktumc.onEnterFrame = function()
  570.                {
  571.                   if(!ispaused)
  572.                   {
  573.                      if(!itemjalan[0])
  574.                      {
  575.                         waktuPath.traverse(this,this.t / 100,false);
  576.                         this.t += this.dt;
  577.                         ctrwaktu++;
  578.                         var _loc2_ = waktu[levelgame - 1];
  579.                         if(isturnamen)
  580.                         {
  581.                            _loc2_ = waktuturnamen[turnamenke - 1];
  582.                         }
  583.                         if(ctrwaktu % _loc2_ == 0 and this.t < 100)
  584.                         {
  585.                            this._rotation = this._rotation + 1;
  586.                         }
  587.                         if(this.t >= 100)
  588.                         {
  589.                            istutup = true;
  590.                         }
  591.                         if(this.t >= 80 and money / goal < 0.6 or istutup and cekAllPesanan() and money < goal)
  592.                         {
  593.                            gamemc.cewe.gotoAndStop("cemas");
  594.                         }
  595.                      }
  596.                      if(money >= goal)
  597.                      {
  598.                         gamemc.menumc.moneytxt.textColor = 16777215;
  599.                      }
  600.                      else
  601.                      {
  602.                         gamemc.menumc.moneytxt.textColor = 16763904;
  603.                      }
  604.                   }
  605.                };
  606.                gamemc.refrigerator.onPress = function()
  607.                {
  608.                   if(this.eskrim._visible)
  609.                   {
  610.                      gamemc.eskrimkulkas.gotoAndStop(this.eskrim._currentframe);
  611.                      startDrag(gamemc.eskrimkulkas,0);
  612.                      gamemc.eskrimkulkas.id = this.eskrim._currentframe - 1;
  613.                      gamemc.refrigerator.eskrim._visible = false;
  614.                      this.gotoAndPlay(2);
  615.                      this.useHandCursor = false;
  616.                   }
  617.                };
  618.                var i = 1;
  619.                while(i <= 3)
  620.                {
  621.                   gamemc.itembutton["btnitem" + i].onRelease = function()
  622.                   {
  623.                      var _loc3_ = int(this._name.substr(-1,1));
  624.                      setMasker(_loc3_);
  625.                      _root["adaitem" + _loc3_] = false;
  626.                      itemjalan[_loc3_ - 1] = true;
  627.                      this.enabled = false;
  628.                   };
  629.                   i++;
  630.                }
  631.                gamemc.menumc.btnpause.onRelease = function()
  632.                {
  633.                   ispaused = true;
  634.                   gamemc.pause_menu._visible = true;
  635.                   gamemc.pause_menu.gotoAndPlay(1);
  636.                };
  637.                gamemc.menumc.btnsound.onRelease = function()
  638.                {
  639.                   gamemc.menumc.btnmute._visible = true;
  640.                   gamemc.menumc.btnsound._visible = false;
  641.                   suara = "play";
  642.                   game_song.stop();
  643.                   if(isturnamen)
  644.                   {
  645.                      tournament_song.start(0,100);
  646.                   }
  647.                   else
  648.                   {
  649.                      game_song.start(0,100);
  650.                   }
  651.                   game_song.setVolume(100);
  652.                };
  653.                gamemc.menumc.btnmute.onRelease = function()
  654.                {
  655.                   gamemc.menumc.btnmute._visible = false;
  656.                   gamemc.menumc.btnsound._visible = true;
  657.                   suara = "stop";
  658.                   game_song.setVolume(0);
  659.                };
  660.                if(suara == "play")
  661.                {
  662.                   gamemc.menumc.btnsound.onRelease();
  663.                }
  664.                else
  665.                {
  666.                   gamemc.menumc.btnmute.onRelease();
  667.                }
  668.                init();
  669.                break;
  670.             }
  671.             if(eval("\x01") == 249)
  672.             {
  673.                set("\x01",eval("\x01") - 235);
  674.                ┬º┬ºpush("\x0f");
  675.                ┬º┬ºpush(1);
  676.             }
  677.             else if(eval("\x01") == 932)
  678.             {
  679.                set("\x01",eval("\x01") - 786);
  680.                if(function ┬º\x04\x05┬º()
  681.                {
  682.                   set("\x03",551 % 511 * true);
  683.                   ┬º┬ºpush("\x03");
  684.                   if("\x01")
  685.                   {
  686.                   }
  687.                   return eval(┬º┬ºpop());
  688.                })
  689.                {
  690.                   set("\x01",eval("\x01") - 136);
  691.                }
  692.             }
  693.             else if(eval("\x01") == 780)
  694.             {
  695.                set("\x01",eval("\x01") - 237);
  696.             }
  697.             else if(eval("\x01") == 312)
  698.             {
  699.                set("\x01",eval("\x01") + 620);
  700.                ┬º┬ºpush(true);
  701.             }
  702.             else
  703.             {
  704.                if(eval("\x01") != 453)
  705.                {
  706.                   if(eval("\x01") == 912)
  707.                   {
  708.                      set("\x01",eval("\x01") - 912);
  709.                      break;
  710.                   }
  711.                   break;
  712.                }
  713.                set("\x01",eval("\x01") - 141);
  714.             }
  715.          }
  716.       }
  717.    }
  718. }
  719.